package com.opencloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.opencloud.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 系统角色-租户关联
 *
 * @author yhg
 * @date 2021-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("base_role_tenant")
@ApiModel(value="RoleTenant对象", description="系统角色-租户关联")
public class RoleTenant extends AbstractEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "租户编码")
    private String tenantId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;


}
